import { useNavigate } from 'react-router-dom'
import './index.scss'
function NotFound() {
  const nav = useNavigate()
  return (
    <div className="body-main">
      <h3 onClick={() => nav('/')}>返回首页</h3>
    </div>
  )
}

export default NotFound
